﻿@model IEnumerable<LanDBom.Models.schedule>
@using LanDBom.Resources
@{
    ViewBag.Title = "Index";
}

<h2>@Resource.String420</h2>
<form class="row padtop col-12" action="/schedules/Index" method="post">
    <fieldset class="boun">
        <legend class="len">查询条件</legend>
        <div class="row">
            <div class="col-3">@Html.Label(Resource.String419)</div>
            <div class="col-3">@Html.TextBox("ming")</div>
            <div class="col-3">
                <input type="submit" value="查询" name="cha" class="col-3" />
            </div>
        </div>
    </fieldset>
</form>
<table class="tab table">
    <thead class="thead-light">
        <tr style="text-align-last:center;">
            <th>
                @Html.Label(Resource.String421)
            </th>
            <th>
                @Html.Label(Resource.String422)
            </th>
            <th>
                @Html.Label(Resource.String423)
            </th>
            <th>
                @Html.Label(Resource.String424)
            </th>
        </tr>
    </thead>
    <tbody style="height:450px" class="gun" id="BUtain">
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.libray.LB_fne)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.SC_time)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.SC_Price)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.SC_Sun)
                </td>
            </tr>
        }
    </tbody>
</table>
@section scripts{
    <script src="~/Scripts/jquery-3.4.1.min.js"></script>
    <script src="~/Scripts/bootstrap.min.js"></script>
    <script>
        $("#li12").css({ "color": "black", "background-color": "white" })
    </script>
}